Programmably dislable Windows Firewall in C/C++

// firewall.cpp : Defines the entry point for the console application. // #include “stdafx.h” /********************************************************************++ Copyright (C) Microsoft. All Rights Reserved. Abstract: This C++ file includes sample code for disabling Windows Firewall per profile using the Microsoft Windows Firewall APIs. –********************************************************************/ #include #include #include #pragma comment( lib, “ole32.lib” ) // Forward declarations HRESULT WFCOMInitialize(INetFwPolicy2** ppNetFwPolicy2); … Continue reading Programmably dislable Windows Firewall in C/C++